-- GENERATED SPELL FOR [Ruuan Weald Sister] --


function spell0_22151(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22151', 5331, 1)
end

function Sorts_22151(pUnit, Event)
local choix_sorts_22151 = math.random(0, 0)
if choix_sorts_22151 == 0 then
pUnit:RegisterEvent('spell0_22151', 1, 1)
end
end

function mob22151_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22151', math.random(1500, 3000), 1)
end

function mob22151_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22151_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22151_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22151, 1, 'mob22151_Action')
RegisterUnitEvent(22151, 2, 'mob22151_Leave')
RegisterUnitEvent(22151, 3, 'mob22151_Kill')
RegisterUnitEvent(22151, 4, 'mob22151_Die')
